﻿using System.Collections.Generic;
using Shuba.Model;

namespace Shuba.Business
{
    public class NegativeFile
    {
        private Data.NegativeFile _NegativeFile;

        public NegativeFile()
        {
            _NegativeFile = new Data.NegativeFile();
        }

        public List<NegativeFileInfo> GetList(string value)
        {
            return _NegativeFile.GetList(value);
        }

        public NegativeFileInfo GetApprovalByID(string value)
        {
            return _NegativeFile.GetApprovalByID(value);
        }

        public List<NegativeFileInfo> GetListApproval(string value, string UpdateBy)
        {
            return _NegativeFile.GetListApproval(value, UpdateBy);
        }

        public void Save(NegativeFileInfo _NegativeFileInfo)
		{
            _NegativeFile.Save(_NegativeFileInfo);
		}

        public int Approve(string RowID)
        {
            return _NegativeFile.Approve(RowID);
        }

        public int Reject(string RowID)
        {
            return _NegativeFile.Reject(RowID);
        }
    }
}
